<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>上传</title>

	<script>document.write('<script src="../../plugin/vue/js/import.js?' + Math.random() + '"><' + '/script>');</script>

<script>
	_import("../../plugin/vue/js/before.js");
</script>


</head>
<body>
	<div id="app" class="container" v-cloak>        
               

	  <!-- action必选参数, 上传的地址 -->
	    <el-upload class="avatar-uploader el-upload--text" 
	     :action="uploadUrl"
	    ref="upload"	   
	    :show-file-list="false" 
	    :on-success="handleFileSuccess" 
	    :before-upload="beforeUploadFile" 
	    :on-progress="uploadFileProcess"
	    :data="data"
	    >
	        <video v-if="fileInfo.url !='' && fileFlag == false" :src="fileInfo.url" class="avatar" controls="controls">您的浏览器不支持视频播放</video>
	        <i v-else-if="fileInfo.url =='' && fileFlag == false" class="el-icon-plus avatar-uploader-icon"></i>
	        <el-progress v-if="fileFlag == true" type="circle" :percentage="fileUploadPercent" style="margin-top:30px;"></el-progress>
	    </el-upload>
	    <P class="text">请保证视频格式正确，且不超过500M</P>
    


	</div>
</body>
<script>
	_import("../../plugin/vue/js/after.js?type=0");
</script>
 <script>
        _import("js/upload.js");
  </script>
</html>